gtkbox: avoid warning when removing a widget with refcount of 1
authorLionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
Thu, 16 Feb 2012 01:36:06 +0000 (01:36 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 18 Mar 2012 19:41:07 +0000 (15:41 -0400)
commitadf36e28d2723cfad5a4f50fc5ab50f5d6ff3f4f
tree0a311ab2acc581059c5c4512bbe9d77d00d0ca2e
parentbc90a2b916c9914a01fedb08c945967648d8dc1c
gtkbox: avoid warning when removing a widget with refcount of 1

If gtkbox is the only object having a reference on one of its child
and that we try to remove it from its container, we endup having a
warning when disconnecting a signal after having unparented the
widget.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=670176
gtk/gtkbox.c